<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta name="format-detection" content="telephone=no"/>
        <meta name="format-detection" content="email=no"/>
        <meta content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0" name="viewport"/>
        <title><%=title%></title>
        <link rel="stylesheet" type="text/css" href="stylesheets/style.css" />
	<script type="text/javascript" src="javascripts/soundmanager2-jsmin.js"></script>
        <!--[if lt IE 8]><script src="javascripts/json3.min.js"></script><![endif]-->
        <script type="text/javascript" src="http://www.wookvn.com/socket.io/socket.io.js"></script>
    </head>
  <body>
    <div id="chatbox">
        <!-- 聊天室标题头 -->
        <div style="background:#3d3d3d;height: 28px; width: 100%;font-size:12px;position:fixed;top:0;z-index:99999">
            <div style="line-height: 28px;color:#fff;">
                <span style="text-align:left;margin-left:10px;">wookvn多人聊天室|当前在线人数:<span id="onlineCount">0</span></span>
                <span style="float:right; margin-right:10px;"><span id="showusername"><%=username%></span> | 
                <a href="javascript:;" onclick="chat.logout()" style="color:#fff;">退出</a></span>
            </div>
	    <div id="onlineusers" style="background:#EFEFFF; padding:5px; font-size:12px; margin:0; color:#666;z-index:99999"></div>
        </div>
        <div id="doc">
            <div id="chat">
                <div id="message" class="message" style="margin-bottom:44px;">
		  <section class="system J-mjrlinkWrap J-cutMsg" style="margin-top:14px;">&nbsp;</sction>
		</div>
                <div class="input-box" style="position:fixed;bottom:0;">
                    <div class="input">
                      <input type="text" maxlength="140" placeholder="请输入聊天内容，按Enter提交" id="content" name="content">
                    </div>
                    <div class="action">
                        <button type="button" id="mjr_send" onclick="chat.submitMsg();">提交</button>
                    </div>
                </div>
            </div>
        </div>
    </div>
    <script type="text/javascript" src="javascripts/client.js"></script>
  </body>
</html>
